package cn.thornbird.orgsync.entity;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.hibernate.annotations.Where;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Entity
@Table(name = "certificates")
@Where(clause = "deleted_at is null")
public class Certificate extends BaseEntity implements Serializable {

    private static final long serialVersionUID = -6098399572243159718L;

    @Column(name = "company_id")
    private String companyId;

    @Column(name = "user_id")
    private String userId;

    @Column(name = "remark")
    private String remark;

}
